package com.frame.work.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@EqualsAndHashCode(callSuper=true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "`tbl_gateway_timing_scene`")
public class TblGatewayTimingScene extends BaseClassEntity implements Serializable {
    /**
     * 网关mac地址
     */
    @TableField(value = "`gateway_id`")
    private String gatewayId;

    /**
     * 1=使能，0=不使能
     */
    @TableField(value = "`task_enable`")
    private Integer taskEnable;

    /**
     * 定时序号
     */
    @TableField(value = "`task_index`")
    private Integer taskIndex;

    /**
     * 开始时间
     */
    @TableField(value = "`start_time`")
    private String startTime;

    /**
     * 重发间隔
     */
    @TableField(value = "`task_interval`")
    private Integer taskInterval;

    /**
     * 重发次数
     */
    @TableField(value = "`repeat_time`")
    private Integer repeatTime;

    /**
     * 场景ID
     */
    @TableField(value = "`scene_id`")
    private String sceneId;

    private static final long serialVersionUID = 1L;
}